<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - GREUtils</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/GREUtils.html">GREUtils</a></li>
	
	<li><a href="../symbols/GREUtils.Charset.html">GREUtils.Charset</a></li>
	
	<li><a href="../symbols/GREUtils.ControllerAdapter.html">GREUtils.ControllerAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.CryptoHash.html">GREUtils.CryptoHash</a></li>
	
	<li><a href="../symbols/GREUtils.Dialog.html">GREUtils.Dialog</a></li>
	
	<li><a href="../symbols/GREUtils.Dir.html">GREUtils.Dir</a></li>
	
	<li><a href="../symbols/GREUtils.File.html">GREUtils.File</a></li>
	
	<li><a href="../symbols/GREUtils.JSON.html">GREUtils.JSON</a></li>
	
	<li><a href="../symbols/GREUtils.Pref.html">GREUtils.Pref</a></li>
	
	<li><a href="../symbols/GREUtils.Sound.html">GREUtils.Sound</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.html">GREUtils.Thread</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.CallbackRunnableAdapter.html">GREUtils.Thread.CallbackRunnableAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.WorkerRunnableAdapter.html">GREUtils.Thread.WorkerRunnableAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.XPCOM.html">GREUtils.XPCOM</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Namespace GREUtils
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
			
				GREUtils
GREUtils - A set of convenience packages and functions useful for developing applications for
the Gecko Runtime Environment (XULRunner / FireFox).
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/_home_rack_workspace_greutils_dist_GREUtils.js.html">GREUtils.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class GREUtils.">
				<caption>Namespace Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/GREUtils.html#constructor">GREUtils</a></b>
							</div>
							<div class="description">GREUtils - A set of convenience packages and functions useful for developing applications for
the Gecko Runtime Environment (XULRunner / FireFox).</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class GREUtils.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								GREUtils.<b><a href="../symbols/GREUtils.html#.ControllerHelper">ControllerHelper</a></b>
								</div>
								<div class="description">GREUtils - is simple and easy use APIs libraries for GRE (Gecko Runtime Environment).</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class GREUtils.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.base64Decode">base64Decode</a></b>(str)
								</div>
								<div class="description">base-64 decode of a string</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.base64Encode">base64Encode</a></b>(str)
								</div>
								<div class="description">base-64 encode of a string</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.define">define</a></b>(name, context)
								</div>
								<div class="description">Creates a namespace, optionally associating a context with the namespace.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.domHTMLString">domHTMLString</a></b>(htmlString, xmlns)
								</div>
								<div class="description">Convert HTML String to DOM Elements.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.domXULString">domXULString</a></b>(xulString, xmlns)
								</div>
								<div class="description">Convert XUL String to DOM Elements.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.extend">extend</a></b>(target, source, extras)
								</div>
								<div class="description">Extends an object by merging properties from other objects.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getAppInfo">getAppInfo</a></b>()
								</div>
								<div class="description">Get Application Infomation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getIdleObserver">getIdleObserver</a></b>(func, time)
								</div>
								<div class="description">getIdleObserver Helper

call register for Register IdleObserver 
call unregister for Remove IdleObserver

Firefox3 and XULrunner 1.9 above only.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getIdleTime">getIdleTime</a></b>()
								</div>
								<div class="description">Get Idle Time - 
The amount of time in milliseconds that has passed since the last user activity.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getObjectByNamespace">getObjectByNamespace</a></b>(name, context)
								</div>
								<div class="description">Returns an object based on its fully qualified name (by GREUtils.createNamespace)</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getOSInfo">getOSInfo</a></b>()
								</div>
								<div class="description">Get OS Infomation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.getRuntimeInfo">getRuntimeInfo</a></b>()
								</div>
								<div class="description">Get Runtime Infomation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.import">import</a></b>(url, scope)
								</div>
								<div class="description">This method was introduced in Firefox 3.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.include">include</a></b>(scriptSrc, scope)
								</div>
								<div class="description">Synchronously loads and executes the script from the specified URL.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.include_once">include_once</a></b>(scriptSrc, scope)
								</div>
								<div class="description">Synchronously loads and executes the script from the specified URL.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.inherits">inherits</a></b>(childFunc, parentFunc)
								</div>
								<div class="description">Establishes an inheritance relationship between two classes.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isArray">isArray</a></b>(type)
								</div>
								<div class="description">Checks if the value is an array.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isBoolean">isBoolean</a></b>(type)
								</div>
								<div class="description">Checks if the value is a boolean.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isDefineAndNotNull">isDefineAndNotNull</a></b>(type)
								</div>
								<div class="description">Checks if the value is defined and not null.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isDefined">isDefined</a></b>(type)
								</div>
								<div class="description">Checks if the type is defined</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isFunction">isFunction</a></b>(type)
								</div>
								<div class="description">Checks if the type is function.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isLinux">isLinux</a></b>()
								</div>
								<div class="description">is Linux OS</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isMac">isMac</a></b>()
								</div>
								<div class="description">is Mac OS</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isNull">isNull</a></b>(type)
								</div>
								<div class="description">Checks if the value is null.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isNumber">isNumber</a></b>(type)
								</div>
								<div class="description">Checks if the value is a number.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isObject">isObject</a></b>(type)
								</div>
								<div class="description">Checks if the value is an object (including functions and arrays).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isString">isString</a></b>(type)
								</div>
								<div class="description">Checks if the value is a string.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isWindow">isWindow</a></b>()
								</div>
								<div class="description">is Window OS</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.isXPCOM">isXPCOM</a></b>(val)
								</div>
								<div class="description">Returns true if val is a xpcom components.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.log">log</a></b>(log)
								</div>
								<div class="description">Use Console.logStringMessage(msg);</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.now">now</a></b>()
								</div>
								<div class="description">Gets the current time.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.quitApplication">quitApplication</a></b>(mode)
								</div>
								<div class="description">Quit Application

see nsIAppStartup</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.ramback">ramback</a></b>()
								</div>
								<div class="description">Ram Back  notifyObservers memory-pressure

see memory-pressure</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.restartApplication">restartApplication</a></b>()
								</div>
								<div class="description">Restart Application

see nsIAppStartup</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.singleton">singleton</a></b>(target)
								</div>
								<div class="description">Extends any object or function with a getInstance() method to support the
 Singleton pattern.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.ucfirst">ucfirst</a></b>(word)
								</div>
								<div class="description">Make a string's first character uppercase</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.ucwords">ucwords</a></b>(word)
								</div>
								<div class="description">Uppercase the first character of each word in a string</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.using">using</a></b>(name, context)
								</div>
								<div class="description">Using a namespace, optionally associating a context with the namespace.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.<b><a href="../symbols/GREUtils.html#.uuid">uuid</a></b>()
								</div>
								<div class="description">UUID Generator -  use XPCOM base for fast uuid generate.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Namespace Detail
				</div>
				
				<div class="fixedFont">
						<b>GREUtils</b>
				</div>
				
				<div class="description">
					GREUtils - A set of convenience packages and functions useful for developing applications for
the Gecko Runtime Environment (XULRunner / FireFox).
					
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".ControllerHelper"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>ControllerHelper</b>
					
					</div>
					<div class="description">
						GREUtils - is simple and easy use APIs libraries for GRE (Gecko Runtime Environment).
Controller and CommandDispatcher Helper
						
						
					</div>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".base64Decode"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.</span><b>base64Decode</b>(str)
					
					</div>
					<div class="description">
						base-64 decode of a string
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>str</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".base64Encode"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.</span><b>base64Encode</b>(str)
					
					</div>
					<div class="description">
						base-64 encode of a string
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>str</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> base64 string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".define"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>define</b>(name, context)
					
					</div>
					<div class="description">
						Creates a namespace, optionally associating a context with the namespace.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>name</b>
									
								</dt>
								<dd>This is the name of the namespace</dd>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>context</b>
									
								</dt>
								<dd>This is the namespace context; defaults to the global context</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".domHTMLString"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>domHTMLString</b>(htmlString, xmlns)
					
					</div>
					<div class="description">
						Convert HTML String to DOM Elements.

HTML String namespace is http://www.w3.org/1999/xhtml
You can specified your custom namespace.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>htmlString</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>xmlns</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".domXULString"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>domXULString</b>(xulString, xmlns)
					
					</div>
					<div class="description">
						Convert XUL String to DOM Elements.

XUL String namespace is http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul
You can specified your custom namespace.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>xulString</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>xmlns</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".extend"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>extend</b>(target, source, extras)
					
					</div>
					<div class="description">
						Extends an object by merging properties from other objects.

Properties in the target object (the object being extended) are overridden by
properties from the objects used for extending the target object.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>target</b>
									
								</dt>
								<dd>This is the object being extended</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>source</b>
									
								</dt>
								<dd>This is the object used to extend the target</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>extras</b>
									
								</dt>
								<dd>This object, if provided, is also used to extend the target</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> The original but modified object</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getAppInfo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>getAppInfo</b>()
					
					</div>
					<div class="description">
						Get Application Infomation.

see nsIXULAppInfo Interface.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getIdleObserver"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>getIdleObserver</b>(func, time)
					
					</div>
					<div class="description">
						getIdleObserver Helper

call register for Register IdleObserver 
call unregister for Remove IdleObserver

Firefox3 and XULrunner 1.9 above only.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>func</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Integer}</span> <b>time</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> idle Observer Object</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getIdleTime"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Number}</span>
					<span class="light">GREUtils.</span><b>getIdleTime</b>()
					
					</div>
					<div class="description">
						Get Idle Time - 
The amount of time in milliseconds that has passed since the last user activity.
Firefox3 and XULrunner 1.9 above only.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> idle time</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getObjectByNamespace"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object?}</span>
					<span class="light">GREUtils.</span><b>getObjectByNamespace</b>(name, context)
					
					</div>
					<div class="description">
						Returns an object based on its fully qualified name (by GREUtils.createNamespace)
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>name</b>
									
								</dt>
								<dd>The fully qualified name.</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>context</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object?}</span> The object or, if not found, null.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getOSInfo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>getOSInfo</b>()
					
					</div>
					<div class="description">
						Get OS Infomation.

see nsIXULRuntime Interface.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getRuntimeInfo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">GREUtils.</span><b>getRuntimeInfo</b>()
					
					</div>
					<div class="description">
						Get Runtime Infomation.

see nsIXULRuntime Interface.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".import"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>import</b>(url, scope)
					
					</div>
					<div class="description">
						This method was introduced in Firefox 3.
Is used for sharing code between different scopes easily.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>url</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>scope</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".include"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>include</b>(scriptSrc, scope)
					
					</div>
					<div class="description">
						Synchronously loads and executes the script from the specified URL.

default scope is window.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>scriptSrc</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>scope</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".include_once"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>include_once</b>(scriptSrc, scope)
					
					</div>
					<div class="description">
						Synchronously loads and executes the script from the specified URL.

Specified URL will loads and executes once.

default scope is window.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>scriptSrc</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>scope</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".inherits"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>inherits</b>(childFunc, parentFunc)
					
					</div>
					<div class="description">
						Establishes an inheritance relationship between two classes.

The child class inherits methods and attributes from the parent class. After
inheritance has been established, instance of the child class can use
this._super to call parent methods.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>childFunc</b>
									
								</dt>
								<dd>This is the child class.</dd>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>parentFunc</b>
									
								</dt>
								<dd>This is the parent class.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".isArray"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isArray</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is an array.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is an array; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isBoolean"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isBoolean</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is a boolean.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is a boolean; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isDefineAndNotNull"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isDefineAndNotNull</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is defined and not null.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is defined and not null; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isDefined"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isDefined</b>(type)
					
					</div>
					<div class="description">
						Checks if the type is defined
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if parameter is defined; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isFunction"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isFunction</b>(type)
					
					</div>
					<div class="description">
						Checks if the type is function.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object|Function}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is a function; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isLinux"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isLinux</b>()
					
					</div>
					<div class="description">
						is Linux OS
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isMac"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isMac</b>()
					
					</div>
					<div class="description">
						is Mac OS
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isNull"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isNull</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is null.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is null; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isNumber"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isNumber</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is a number.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is a number; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isObject"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isObject</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is an object (including functions and arrays).
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is an object; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isString"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isString</b>(type)
					
					</div>
					<div class="description">
						Checks if the value is a string.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>type</b>
									
								</dt>
								<dd>This is the value to check</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the value is a string; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isWindow"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isWindow</b>()
					
					</div>
					<div class="description">
						is Window OS
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isXPCOM"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.</span><b>isXPCOM</b>(val)
					
					</div>
					<div class="description">
						Returns true if val is a xpcom components.

XPCom components must implement nsISupports Interface.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>val</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".log"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>log</b>(log)
					
					</div>
					<div class="description">
						Use Console.logStringMessage(msg);
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>log</b>
									
								</dt>
								<dd>message</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".now"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Number}</span>
					<span class="light">GREUtils.</span><b>now</b>()
					
					</div>
					<div class="description">
						Gets the current time.

This method returns the current time expressed as the number of milliseconds since
January 1, 1970, 00:00:00 UTC.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> The current time</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".quitApplication"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>quitApplication</b>(mode)
					
					</div>
					<div class="description">
						Quit Application

see nsIAppStartup
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>mode</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".ramback"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>ramback</b>()
					
					</div>
					<div class="description">
						Ram Back  notifyObservers memory-pressure

see memory-pressure
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".restartApplication"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>restartApplication</b>()
					
					</div>
					<div class="description">
						Restart Application

see nsIAppStartup
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".singleton"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>singleton</b>(target)
					
					</div>
					<div class="description">
						Extends any object or function with a getInstance() method to support the
 Singleton pattern. Invoking the getInstance() method on the extended
 target will always return the same instance of the target.
 
 The intent of the Singleton pattern as defined in Design Patterns is to
 "ensure a class has only one instance, and provide a global point of access to it".
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object|Function}</span> <b>target</b>
									
								</dt>
								<dd>This is the object or function to extend to support Singleton pattern</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".ucfirst"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.</span><b>ucfirst</b>(word)
					
					</div>
					<div class="description">
						Make a string's first character uppercase
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>word</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".ucwords"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.</span><b>ucwords</b>(word)
					
					</div>
					<div class="description">
						Uppercase the first character of each word in a string
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>word</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".using"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">GREUtils.</span><b>using</b>(name, context)
					
					</div>
					<div class="description">
						Using a namespace, optionally associating a context with the namespace.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>name</b>
									
								</dt>
								<dd>This is the name of the namespace</dd>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>context</b>
									
								</dt>
								<dd>This is the namespace context; defaults to the global context</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".uuid"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.</span><b>uuid</b>()
					
					</div>
					<div class="description">
						UUID Generator -  use XPCOM base for fast uuid generate.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> uuid string</dd>
							
							</dl>
						
						
						

					
				
			
			
			<hr />
		</div>
		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.0.1 on Thu Aug 28 2008 13:30:54 GMT+0800 (CST)
		</div>
	</body>
</html>
